/*----------------------------------------------------------\\
|| Mancala                                                  ||
|| CS-340 with Professor Troy                               ||
|| Joshua Jung and Eugene Magdel                            ||
|| April 29, 2011                                           ||
\\----------------------------------------------------------*/
#include "gem.h"

const string Gem::image_sources[1] = {"../cs340-mancala/images/gem.png"};

Gem::Gem() : pmi(NULL), pmi_x(-1), pmi_y(-1), next_pmi_x(0), next_pmi_y(0), next(NULL)
{
  int number_of_images = sizeof(image_sources) / sizeof(string);
  img_src = Gem::image_sources[rand() % number_of_images];
}
